<!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8" />
	<title>Building instruction</title>
	<link rel="stylesheet" type="text/css" href="main.css">
</head>

<body>
	<div id="header">Building instruction</div>
	<div id="main">
		<div id="model_tree"></div>
		<div id="main_model"></div>
		<div id="model_parts"></div>
	</div>
	<div id="blog"></div>
	<div id="footer"></div>

	<script src="js/Three.js"></script>
	<script src="js/Detector.js"></script>
	<script src="js/OrbitControls.js"></script>
	<script src="js/main_model.js"></script>
	<script src="js/model_view.js"></script>
	<script src="js/model_tree.js"></script>
	
	<script>
		
		var model = new model_view(document.getElementById( 'main_model' ));
		var parts = new model_view(document.getElementById( 'model_parts' ));

		var lego = new lego_set();
		
		
		lego.addBonesToGroup(model.group);
		lego.highlight(1);

		var tree = new model_tree(document.getElementById( 'model_tree' ));
		//tree.show(lego.tree);
		
	</script>
</body>
</html>